package org.example.campus_sys_backend.service;

import org.example.campus_sys_backend.mapper.CourseInfoMapper;
import org.example.campus_sys_backend.model.CourseInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CourseService {

    @Autowired
    private CourseInfoMapper courseInfoMapper;

    public Integer insertCourse(CourseInfo courseInfo){
        return courseInfoMapper.insertCourse(courseInfo);
    }
}
